package com.gaofans.vertx.boot.web.config;

import io.vertx.ext.web.handler.LoggerFormat;
import io.vertx.ext.web.handler.LoggerHandler;

/**
 * @author GaoFans
 */
public class WebLoggerProperties {

    private boolean open = false;

    private LoggerFormat format = LoggerHandler.DEFAULT_FORMAT;

    private boolean immediate = false;

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public LoggerFormat getFormat() {
        return format;
    }

    public void setFormat(LoggerFormat format) {
        this.format = format;
    }

    public boolean isImmediate() {
        return immediate;
    }

    public void setImmediate(boolean immediate) {
        this.immediate = immediate;
    }
}
